package at.prospect.manualcreator.controller;

import at.prospect.manualcreator.entity.ManualFrage;
import at.prospect.manualcreator.session.ManualFrageFacade;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

@ManagedBean(name = "manualFrageController")
@ViewScoped
public class ManualFrageController extends AbstractController<ManualFrage> implements Serializable {

    @EJB
    private ManualFrageFacade ejbFacade;

    public ManualFrageController() {
        super(ManualFrage.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }
}
